<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
         
 <div class="col-md-6">
            <div class="form-group">
              <label>报修编号</label>
              <input class="form-control" name="id" placeholder="请输入报修编号" value="{$info['id']|default=''}" type="text">
            </div>
          </div>




          <div class="col-md-6">
            <div class="form-group">
              <label>报修名字</label>
              <span>（报修名字，用于前端展示）</span>
              <input class="form-control" name="name" placeholder="请输入报修名字" value="{$info['name']|default=''}" type="text">
            </div>
          </div>
            
            <div class="col-md-6">
            <div class="form-group">
              <label>报修原因</label>
             
              <input class="form-control" name="why" placeholder="请输入报修原因" value="{$info['why']|default=''}" type="text">
            </div>
          </div>
 
               <div class="col-md-6">
            <div class="form-group">
              <label>报地点</label>
            
              <input class="form-control" name="where" placeholder="请输入报修地点" value="{$info['where']|default=''}" type="text">
            </div>
          </div>

            <div class="col-md-6">
            <div class="form-group">
              <label>电话</label>
              <input class="form-control" name="phone" placeholder="请输入电话" value="{$info['phone']|default='0'}" type="text">
            </div>
          </div> 

  <div class="col-md-6">
            <div class="form-group">
              <label>状态</label>
              <input class="form-control" name="status" placeholder="请输入状态" value="{$info['status']|default='0'}" type="text">
            </div>
          </div> 

  
  <div class="col-md-6">
            <div class="form-group">
                <label>友情链接图片</label>
                <span class="">（请上传单张图片）</span>
                <br/>
                {assign name="img_id" value="$info.img_id|default='0'" /}
                {:widget('file/index', ['name' => 'img_id', 'value' => $img_id, 'type' => 'img'])}
            </div>
          </div>

  


               <div class="col-md-6">
            <div class="form-group">
              <label>排序</label>
              <input class="form-control" name="sort" placeholder="请输入排序值" value="{$info['sort']|default='0'}" type="text">
            </div>
          </div> 
            
         
            
            
          
            
         
            
          </div>
        </div>
        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        
        {include file="layout/edit_btn_group"/}
      </div>
        
      </div>

</form>